vlib modelsim_lib/work
vlib modelsim_lib/msim

vlib modelsim_lib/msim/xpm
vlib modelsim_lib/msim/xil_defaultlib

vmap xpm modelsim_lib/msim/xpm
vmap xil_defaultlib modelsim_lib/msim/xil_defaultlib

vlog -work xpm  -incr -mfcu  -sv "+incdir+../../../ipstatic" "+incdir+../../../../../../Software/Xlinx/2025.1/Vivado/data/rsb/busdef" \
"D:/Software/Xlinx/2025.1/Vivado/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv" \

vcom -work xpm  -93  \
"D:/Software/Xlinx/2025.1/Vivado/data/ip/xpm/xpm_VCOMP.vhd" \

vlog -work xil_defaultlib  -incr -mfcu  "+incdir+../../../ipstatic" "+incdir+../../../../../../Software/Xlinx/2025.1/Vivado/data/rsb/busdef" \
"../../../../HDMI_test.gen/sources_1/ip/video_clock/video_clock_clk_wiz.v" \
"../../../../HDMI_test.gen/sources_1/ip/video_clock/video_clock.v" \

vlog -work xil_defaultlib \
"glbl.v"

